const result = require('./db/data.json')

module.exports = function devserver () {
  return function (app) {
    /**api接口 */
    app.get('/vue/test', function (req, res) {
      res.json({ result: result })
    })
  }
}